<template>
  <div class="container">
    <div class="aside">
      <router-link to="/index/welcome">欢迎页</router-link>
      <router-link to="/user">用户列表</router-link>
      <router-link to="/">退出</router-link>
    </div>
    <div class="main">
      <router-view></router-view>
    </div>
  </div>
</template>

<style scoped>
.container {
  display: flex;
  height: 100%;
}
.container div {
  height: 500px;
}
.aside {
  width: 200px;
  background-color: #409eff;
}
.main {
  flex: 1;
  background-color: #f5f5f5;
}
</style>
